﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;
using DTO;

namespace BLL
{
	public class THEBUS
	{
		public static DataTable GetListTHE()
		{
			THEDAO b = new THEDAO();
			return b.GetListTHE();
		}
		public static List<THES> GetListTHE(int? flag)
		{
			THEDAO b = new THEDAO();
			return b.GetListTHE(flag);
		}
		public static DataTable GETTHE(THES t)
		{
			THEDAO b = new THEDAO();
			return b.GETTHE(t);
		}
		public static String CreateNewID()
		{
			THEDAO b = new THEDAO();
			return b.CreatenewId();
		}
		public static bool INSERT(THES bc)
		{
			THEDAO b = new THEDAO();
			return b.INSERT(bc);
		}
		public static bool UPDATE(THES bc)
		{
			THEDAO b = new THEDAO();
			return b.UPDATE(bc);
		}
		public static bool DELETE(THES bc)
		{
			THEDAO b = new THEDAO();
			return b.DELETE(bc);
		}
	}
}
